package BanqueGestion;

/**
 * Interface definition: CompteBancaire.
 * 
 * @author OpenORB Compiler
 */
public interface CompteBancaireOperations
{
    /**
     * Read accessor for numeroDeCompte attribute
     * @return the attribute value
     */
    public int numeroDeCompte();

    /**
     * Read accessor for argent attribute
     * @return the attribute value
     */
    public float argent();

    /**
     * Read accessor for nom attribute
     * @return the attribute value
     */
    public String nom();

    /**
     * Write accessor for nom attribute
     * @param value the attribute value
     */
    public void nom(String value);

    /**
     * Operation deposerArgent
     */
    public void deposerArgent(float argent)
        throws BanqueGestion.CompteBancairePackage.NegativeAmount;

    /**
     * Operation retirerArgent
     */
    public float retirerArgent(float argent)
        throws BanqueGestion.CompteBancairePackage.NotEnoughMoney, BanqueGestion.CompteBancairePackage.NegativeAmount;

}
